package com.ruoyi.project.system.service;

import java.util.List;

import com.ruoyi.project.system.domain.SysWithdrawal;

/**
 * 申请提现Service接口
 *
 * @author jjp
 * @date 2020-04-17
 */
public interface ISysWithdrawalService {
    /**
     * 查询申请提现
     *
     * @param withdrawalId 申请提现ID
     * @return 申请提现
     */
    public SysWithdrawal selectSysWithdrawalById(Long withdrawalId);

    /**
     * 查询申请提现列表
     *
     * @param sysWithdrawal 申请提现
     * @return 申请提现集合
     */
    public List<SysWithdrawal> selectSysWithdrawalList(SysWithdrawal sysWithdrawal);

    /**
     * 新增申请提现
     *
     * @param sysWithdrawal 申请提现
     * @return 结果
     */
    public int insertSysWithdrawal(SysWithdrawal sysWithdrawal);

    /**
     * 修改申请提现
     *
     * @param sysWithdrawal 申请提现
     * @return 结果
     */
    public int updateSysWithdrawal(SysWithdrawal sysWithdrawal);

    /**
     * 批量删除申请提现
     *
     * @param withdrawalIds 需要删除的申请提现ID
     * @return 结果
     */
    public int deleteSysWithdrawalByIds(Long[] withdrawalIds);

    /**
     * 删除申请提现信息
     *
     * @param withdrawalId 申请提现ID
     * @return 结果
     */
    public int deleteSysWithdrawalById(Long withdrawalId);

    public List<SysWithdrawal> selectSysWithdrawal(SysWithdrawal sysWithdrawal);
}
